/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2007 Kern Sibbald
   Copyright (C) 2016-2016 Skyatlas Co. CN

   

   

   
*/
/*
 * Written by Kern Sibbald, July 2007 to replace idcache.c
 */
/**
 * @file
 * Program to convert uid and gid into names, and cache the results
 * for performance reasons.
 */

class dlist;

class guid_list {
 public:
  dlist* uid_list;
  dlist* gid_list;

  char* uid_to_name(uid_t uid, char* name, int maxlen);
  char* gid_to_name(gid_t gid, char* name, int maxlen);
};

guid_list* new_guid_list();
void FreeGuidList(guid_list* list);
